import {  RouteRecordRaw } from 'vue-router';

export const getRoute404 : (module:string, label: string) => RouteRecordRaw = (module: string, label: string) => {
  return {
    path: `/${module}/:pathMatch(.*)`, 
    name: `Error404${module}`, 
    component:() => import('@/pages/error/Error404.vue'),
    meta: {breadList :[{label: `404页面-${label}`}]}
  }
}